package com.yuanxing.oushangyidali.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.yuanxing.oushangyidali.R

/**
 * @auther : hhx
 * @date   :  2021/3/17
 * @des    :
 */
class SearchAdapter(data: List<String>?) :
    BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_search, data as MutableList<String>?) {
    override fun convert(holder: BaseViewHolder, item: String) {
        addChildClickViewIds(R.id.tv_reduce, R.id.tv_add)

    }
}